package com.love.marriage.userTopConfigInfo.mapper;

import com.love.marriage.userTopConfigInfo.entity.UserTopConfigInfo;
import com.love.marriage.userTopConfigInfo.vo.UserTopConfigInfoPageVo;
import com.love.marriage.userTopConfigInfo.vo.UserTopConfigInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

/**
 * description:  用户置顶配置表 mapper
 * author:       mybatisPlus
 * createDate:   2024-10-24 20:49:00
 * version:      1.0.0
 */
@Mapper
public interface UserTopConfigInfoMapper extends BaseMapper<UserTopConfigInfo> {

    Page<UserTopConfigInfoPageVo> getPage(Page<UserTopConfigInfoPageVo> page, @Param("userTopConfigInfoVo") UserTopConfigInfoPageVo userTopConfigInfoVo);

    UserTopConfigInfoVo queryUserTopConfigInfo(@Param("id") Long id);

    UserTopConfigInfoVo queryUserTopConfigInfoByUserId(@Param("userId") Long userId);
}
